header{
	width: 100%;
	height: 60px;
	background: #3498db;
	border-bottom: solid 3px #2980b9;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.member_wrap{
	
}
.header_item{
	overflow: hidden;
}
.user_menu{
	width: 100%;
	height: 170px;
	padding: 20px 0;
	background: linear-gradient(135deg, #3498db, #2c3e50);
}
.header_item{
	width: 980px;
	margin: 0 auto;
}
.menu_head{
	width: 100px;
	height: 100px;
	border-radius: 100px;
	border: solid 3px #fff;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}
.menu_head:hover {
	transform: scale(1.05);
}
.menu_head img{
	width: 100%;
	height: 100%;
}
.menu_info{
	width:840px;
	margin-left: 20px;	
}
.info_name{
	font-size: 20px;
	line-height: 40px;
	font-weight: bold;
	color: #fff;
}
.info_name_box{
	margin-top: 10px;
}
.level{
	font-size: 14px;
	color: #f39c12;
	font-weight: bold;
}
.info_desc{
	margin-top: 10px;
	font-size: 14px;
	color: #FFF;
	line-height: 1.6;
}
.banner_menu{
	width: 980px;
	height: 50px;
	margin: 20px auto;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.nav_box{
	margin-top: 50px;
}
.nav_box ul {
	overflow: hidden;
}
.nav_box ul li{
	display: block;
	padding: 0 20px;
}
.nav_box ul li a{
	color: #fff;
	font-size: 16px;
	transition: all 0.2s ease;
}
.nav_box ul li a:hover{
	color: #f1c40f;
}


/* Login page styling */
.login_wrap{
	background: url(../img/logo_bg.jpg) no-repeat center;
	background-size: cover;
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.login_wrap:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 1;
}

.content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.logo{
	width: 500px;
	height: 150px;
	margin: 0px auto;
	background: url(../img/logowz.png) no-repeat center;
	background-size: contain;
}
.login_box{
	width: 400px;
	background: #FFFFFF;
	margin: 0px auto;
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
	padding: 20px 0;
}
.login_title{
	font-size: 28px;
	text-align: center;
	color: #3498db;
	padding: 15px 0;
	width: 300px;
	margin: 0 auto;
	border-bottom: solid 1px #EEEEEE;
	font-weight: 600;
}
.form_text_ipt{
	width: 300px;
	height: 45px;
	border: solid 1px #E5E5E5;
	border-radius: 4px;
	margin: 25px auto 0 auto;
	background: #FFFFFF;
	transition: all 0.3s ease;
}
.form_text_ipt:focus-within {
	border-color: #3498db;
	box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.form_check_ipt{
	width: 300px;
	margin: 15px auto;
	overflow: hidden;
}
.form_text_ipt input{
	width: 290px;
	height: 43px;
	margin: 0 5px;
	border: none;
	font-family: "微软雅黑";
	font-size: 15px;
	color: #333;
	outline: none;
}
.check_left label{
	cursor: pointer;
	color: #666;
	font-size: 14px;
}
.check_left label input{
	position: relative;
	top: 2px;
}
.form_btn{
	width: 300px;
	height: 45px;
	margin: 20px auto;
}
.form_btn button{
	width: 100%;
	height: 100%;
	border: none;
	color: #FFFFFF;
	font-size: 16px;
	background: #3498db;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.form_btn button:hover {
	background: #2980b9;
}
.form_reg_btn{
	width: 300px;
	margin: 0 auto;
	font-size: 14px;
	color: #666;
	text-align: center;
	padding: 10px 0;
}
.form_reg_btn a {
	color: #3498db;
	transition: all 0.3s ease;
}
.form_reg_btn a:hover {
	color: #2980b9;
	text-decoration: underline;
}
.other_login{
	overflow: hidden;
	width: 300px;
	height: 80px;
	line-height: 80px;
	margin: 0px auto;
	border-top: 1px solid #EEEEEE;
	margin-top: 10px;
}
.other_left{
	font-size: 14px;
	color: #999;
}

.other_right a{
	margin: 5px;
	color: #999;
	transition: all 0.3s ease;
}

.other_right a:hover{
	color: #3498db;
}

.ececk_warning {
	font-size: 13px;
	color: #e74c3c;
	width: 300px;
	margin: 0 auto;
	display: none;
	text-align: left;
	padding: 5px 0;
}

/* 修复页面空白问题 */
.container-fluid, .main-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 进一步移除所有页面的空白区域 */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f4f6f9 !important;
}

.sidebar {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.page-header {
    margin-top: 0 !important;
}

.content-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 修复表格容器底部空白 */
.table-responsive {
    margin-bottom: 0 !important;
}

/* 修复登录页面底部空白 */
.login_wrap {
    padding-bottom: 0 !important;
}

/* 修复学生页面底部空白 */
.container-student {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 修复所有容器的底部空白 */
.container, .container-fluid {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 修复导航栏下方空白 */
.navbar + .container,
.navbar + .container-fluid {
    padding-top: 0 !important;
}

/* 修复所有行和列的底部空白 */
.row {
    margin-bottom: 0 !important;
}

.col-md-10, .col-md-12, .col-md-6, .col-md-4, .col-md-8 {
    padding-bottom: 0 !important;
}

/* 修复管理员页面中面板的空白问题 */
.panel {
    margin-bottom: 0 !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
}

.panel-body {
    padding: 20px !important;
}

.panel-footer {
    margin-bottom: 0 !important;
    padding-bottom: 15px !important;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* 确保main-content底部没有额外空间 */
.main-content {
    min-height: calc(100vh - 60px);
    padding: 20px !important;
    display: flex;
    flex-direction: column;
}

/* 确保容器填充可用空间 */
.main-content > .container-fluid {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

/* 修复面板之间的空白间距 */
.panel + .panel {
    margin-top: 20px !important;
}

/* 修复页脚空白问题 */
footer, .footer {
    margin-top: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
    background-color: #2c3e50;
    color: #ecf0f1;
}

/* 修复管理员页面特定布局问题 */
.AdminManage-content,
.CourseList-content,
.ClassList-content,
.TeacherList-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* 确保HTML和BODY元素没有内边距和外边距 */
html, body {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
}

/* 美化表格样式 */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 12px 15px;
    vertical-align: middle;
}

.table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* 美化按钮样式 */
.btn {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #3498db;
    border-color: #2980b9;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2471a3;
}

.btn-success {
    background-color: #2ecc71;
    border-color: #27ae60;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #219d54;
}

.btn-danger {
    background-color: #e74c3c;
    border-color: #c0392b;
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #a93226;
}

/* 修复jumbotron的样式问题 */
.jumbotron {
    background-color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px !important;
    margin: 20px !important;
    margin-left: 240px !important;
    margin-right: 0 !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .jumbotron {
        margin-left: 70px !important;
    }
}

/* 表单样式美化 */
.form-control {
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #dce4ec;
    border-radius: 4px;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #3498db;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* 美化面板标题 */
.panel-heading {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.panel-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* 修复模态框样式 */
.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 15px 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* 页面公共样式 */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 登录页面样式 */
.login_wrap {
    background: url(../img/logo_bg.jpg) no-repeat center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_box {
    background: #fff;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login_title {
    font-size: 24px;
    text-align: center;
    padding: 30px 0;
    font-weight: bold;
    color: #3498db;
}

.login_form {
    padding: 0 30px 30px;
}

.form_text_ipt {
    position: relative;
    margin-bottom: 20px;
}

.form_text_ipt input {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form_text_ipt input:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    outline: none;
}

.ececk_warning {
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    color: #e74c3c;
    display: none;
    margin-bottom: 10px;
}

.form_check_ipt {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.check_left label {
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.check_left input {
    vertical-align: middle;
    margin-right: 5px;
}

.check_right a {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
}

.form_btn {
    margin-bottom: 20px;
}

.form_btn button {
    width: 100%;
    height: 45px;
    background: #3498db;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form_btn button:hover {
    background: #2980b9;
}

.form_reg_btn {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.form_reg_btn a {
    color: #3498db;
    text-decoration: none;
    margin-left: 5px;
}

.other_login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.other_left {
    font-size: 14px;
    color: #666;
}

.other_right a {
    margin-left: 10px;
    color: #666;
    transition: all 0.3s ease;
}

.other_right a:hover {
    color: #3498db;
}

/* 主内容区样式 */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.container-fluid {
    padding: 15px;
}

.panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
}

.panel-heading {
    background-color: #f5f7fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.panel-title {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

.panel-body {
    padding: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .login_box {
        width: 90%;
        max-width: 400px;
    }
    
    .main-content {
        margin-left: 70px;
        width: calc(100% - 70px);
    }
}

/* 修复主内容区域的关键样式 */
.main-content {
    margin-left: 240px !important;
    padding: 20px !important;
    width: auto !important;
    min-height: calc(100vh - 60px) !important;
    background-color: #f4f6f9;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    display: block !important;
}

/* 确保所有容器和面板都有正确的布局 */
.container-fluid {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    overflow: hidden;
}

.panel-heading {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.panel-body {
    padding: 20px;
}

/* 表格相关样式 */
.table-responsive {
    border: none;
    margin-bottom: 15px;
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    margin-bottom: 0;
}

/* 响应式布局调整 */
@media (max-width: 768px) {
    .main-content {
        margin-left: 70px !important;
    }
}

/* 全局修复 - 强制移除所有不需要的样式 */
[style*="margin-left: 18%"] {
    margin-left: 0 !important;
}

